package com.crm.system.service.customerManager;

import com.crm.model.vo.customerManager.CustomerFollowVO;

import java.util.List;
import java.util.Map;

/**
 * @Author renshaorong
 * @Date 2021/04/28 9:29 上午
 */
public interface CustomerStatisticsService {

    /**
     * 客户数据指标折线图数据
     * @Author renshaorong
     * @Date 2021/4/28
     * @param dateUnit
     * @return
     */
    Map<String,Object> getPolyLine(Integer dateUnit);

    /**
     * 柱状图数据
     * @return
     */
    Map<String,Object> getCustomerBusiness();

    /**
     * 客户跟进意向值
     * @param type
     * @param dateUnit
     * @return
     */
    List<CustomerFollowVO> getCustomerFollow(Integer type, Integer dateUnit);

    /**
     * 地图数据
     * @return
     */
    Map<String, Object> getMapData();
}
